package com.infra.micro.oss.domain.model.dto;

import com.infra.common.resp.PrintFriendliness;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "ThumbnailDTO", description = "缩略图数据传输对象")
public class ThumbnailDTO extends PrintFriendliness {
    @ApiModelProperty(name = "width", value = "宽")
    private int width;
    @ApiModelProperty(name = "height", value = "高")
    private int height;

    public ThumbnailDTO() {

    }

    public ThumbnailDTO(int width, int height) {
        this.width = width;
        this.height = height;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }
}
